import { ModeEnum, DirectionEnum, RadiusSizeEnum } from '../global/type';

export interface KuiDialogProps {
	mode?: ModeEnum,
	title?: string,
	titleAlign?: AlignEnum,
	show?: boolean,
	content?: string,
	contentAlign?: AlignEnum,
	confirmButton?: boolean,
	cancelButton?: boolean,
	confirmButtonText?: string,
	cancelButtonText?: string,
	cancelAutoClose?: boolean,
	lockScroll?: boolean,
	closeOnClickOverlay?: boolean,
	footerDirection?: DirectionEnum,
	dialogClass?: string,
	dialogStyle?: string,
	dialogRadius?: RadiusSizeEnum,
	type?: TypeEnum,
	footerType: FooterTypeEnum,
	placeholderText: string
}

export type AlignEnum = 'left' | 'center' | 'right';
export type TypeEnum = 'normal' | 'tips' | 'edit';
export type FooterTypeEnum = 'margin' | 'no-margin'